package ru.rchervot.sanasar.client.view;

import ru.rchervot.sanasar.client.model.UserSettings;

import com.google.gwt.event.shared.HandlerManager;

public abstract class AbstractModulePresenter implements Presenter {
		
	protected final HandlerManager eventBus;
	protected final Display display;
	protected final UserSettings settings;
	
	public AbstractModulePresenter(Display display, 
			HandlerManager eventBus, UserSettings settings) {
		this.eventBus = eventBus;
		this.display = display;
		this.settings = settings;
	}
	
	@Override
	public void bindDisplay() {
		display.setPresenter(this);
	}
	
}
